package com.aptech.daos;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractProducts entity provides the base persistence definition of the
 * Products entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractProducts implements java.io.Serializable {

	// Fields

	private Integer productId;
	private Categories categories;
	private String productName;
	private Double unitPrice;
	private Short unitsInStock;
	private Short unitsOnOrder;
	private String features;
	private String descriptionBrief;
	private String description;
	private String picture;
	private Double rating;
	private Set orderDetailses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractProducts() {
	}

	/** minimal constructor */
	public AbstractProducts(Integer productId, Categories categories,
			String productName, Double unitPrice, Short unitsInStock,
			String features) {
		this.productId = productId;
		this.categories = categories;
		this.productName = productName;
		this.unitPrice = unitPrice;
		this.unitsInStock = unitsInStock;
		this.features = features;
	}

	/** full constructor */
	public AbstractProducts(Integer productId, Categories categories,
			String productName, Double unitPrice, Short unitsInStock,
			Short unitsOnOrder, String features, String descriptionBrief,
			String description, String picture, Double rating,
			Set orderDetailses) {
		this.productId = productId;
		this.categories = categories;
		this.productName = productName;
		this.unitPrice = unitPrice;
		this.unitsInStock = unitsInStock;
		this.unitsOnOrder = unitsOnOrder;
		this.features = features;
		this.descriptionBrief = descriptionBrief;
		this.description = description;
		this.picture = picture;
		this.rating = rating;
		this.orderDetailses = orderDetailses;
	}

	// Property accessors

	public Integer getProductId() {
		return this.productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Categories getCategories() {
		return this.categories;
	}

	public void setCategories(Categories categories) {
		this.categories = categories;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Double getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Short getUnitsInStock() {
		return this.unitsInStock;
	}

	public void setUnitsInStock(Short unitsInStock) {
		this.unitsInStock = unitsInStock;
	}

	public Short getUnitsOnOrder() {
		return this.unitsOnOrder;
	}

	public void setUnitsOnOrder(Short unitsOnOrder) {
		this.unitsOnOrder = unitsOnOrder;
	}

	public String getFeatures() {
		return this.features;
	}

	public void setFeatures(String features) {
		this.features = features;
	}

	public String getDescriptionBrief() {
		return this.descriptionBrief;
	}

	public void setDescriptionBrief(String descriptionBrief) {
		this.descriptionBrief = descriptionBrief;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Double getRating() {
		return this.rating;
	}

	public void setRating(Double rating) {
		this.rating = rating;
	}

	public Set getOrderDetailses() {
		return this.orderDetailses;
	}

	public void setOrderDetailses(Set orderDetailses) {
		this.orderDetailses = orderDetailses;
	}

}